import openpyxl
import time

# 获取工作簿
wb = openpyxl.load_workbook("马鞍山独立营信息.xlsx")
ws = wb['数加科技马鞍山独立营2期学生表']
ws.delete_rows(1)
for data in ws.values:
    print(data[0])
    print(data[1])
    print(data[2])

# 1665417600
# 将时间戳转成标准格式

str_time = '1665417600'

store_date = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(int(time.time())))
print(store_date)